package com.mico.example.springboot.jpa.multi.repository.secondary;

import com.mico.example.springboot.jpa.multi.domain.secondary.City;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by micocube
 * ProjectName: springboot-example
 * PackageName: com.mico.example.springboot.jpa.multi.repository.secondery
 * User: micocube
 * Email: ldscube@gmail.com
 * CreateTime: 2019/3/1上午10:21
 * ModifyTime: 2019/3/1上午10:21
 * Version: 0.1
 * Description:
 **/
@Repository
public interface CityRepository extends JpaRepository<City, Integer> {
    public City findByCity(String city);
}
